<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>

<html>
<head>
	<meta name="description" content="A web page to share programming concepts in Java, C/C++, Android">
	<meta charset="utf-8">
	<link rel="stylesheet" type="text/css" href="css/style.css"/>
	<script type='text/javascript' src='scripts/jquery-ui-1.10.4/jquery-1.10.2.js'></script>
	<title>Veritech</title>
</head>
<body>
	<div id="container">
		<div id="header"></div>
		<div id="nav">
			<jsp:include page="/WEB-INF/nav.jsp" flush="true" />
		</div>
		<div id="main">
			<h3>Welcome you to Veritech</h3>
			<table class="tbl-data">
			<thead>
				<tr>
					<th>No.</th>
					<th>Service Name</th>
					<th>Description</th>
					<th>Active</th>
				</tr>
			</thead>
			<tbody>
			<c:forEach items="${services}" var="service">
				<tr>
					<td>${service.id}</td>
					<td>${service.name}</td>
					<td>${service.description}</td>
					<td>${service.active}</td>
				</tr>	
			</c:forEach>
			</tbody>
			</table>
		</div>
		<div id="sidebar"></div>
		<div id="footer"></div>
	</div>
</body>
</html>
